package com.ruoyi.door.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.ruoyi.door.domain.proxy.DoorRepairOrderLogProxy;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.Date;

/**
 * 报修日志对象 door_repair_order_log
 *
 * @author ruoyi
 * @date 2025-07-29
 */
@Data
@Table("door_repair_order_log")
@ApiModel(value = "报修日志对象", description = "报修日志信息")
@EntityProxy
@AllArgsConstructor
@NoArgsConstructor
@FieldNameConstants
public class DoorRepairOrderLog  implements ProxyEntityAvailable<DoorRepairOrderLog, DoorRepairOrderLogProxy>, Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Column(primaryKey = true)
    @ApiModelProperty("编号")
    private Long id;

    /**
     * 报修主键
     */
    @Excel(name = "报修主键")
    @ApiModelProperty("报修主键")
    private Long repairOrderId;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 图片
     */
    @Excel(name = "图片")
    @ApiModelProperty("图片")
    private String img;

    private String log;

    /**
     * 经度
     */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private Double longitude;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private Double latitude;
    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createUserType;

    /**
     * 经度
     */
    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private Double houseLongitude;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private Double houseLatitude;

    private Double distance;

    @Column(exist = false)
    private String createByNickName;

}
